import settings from './util/settings/settings.js';
import PasswordManagers from './passwordManager/passwordManager.js';
const AutofillSetup = {
  checkSettings: () => {
    let manager = PasswordManagers.getActivePasswordManager();
    if (!manager) {
      return;
    }
  },
  initialize: () => {
    console.log('AutofillSetup initialize---------');
    settings.listen('passwordManager', (manager) => {
      if (manager) {
        // Trigger the check on browser launch and after manager is enabled
        AutofillSetup.checkSettings();
      }
    });
  },
};
export default AutofillSetup;

